import { TOKEN_RECEIVED } from '../action/actionToken';
export function tokenInfo (state = {}, action) {
    switch (action.type) {
    case TOKEN_RECEIVED:
        return Object.assign({}, state, {
            token: action.access_token,
            session: action.session,
        });
    default:
        return state;
    }
}
